package wifiunion.com.notice.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/12/1.
 * <p>
 * 设备列表中的device个体
 */

public class NoticeInfoList implements Serializable {


    private static final long serialVersionUID = 2061818550948441286L;

    private String uuid;
    private int isdate;
    private String startDate;
    private String endDate;
    private String startTime;
    private String endTime;
    private String cycle;
    private String content;
    private int rate;
    private int isNotificationFrom;
    private String groupUuid;
    private String groupName;
    private long createdTime;
    private String communityUuid;

    /**
     * 是否选择
     * 0 未选中
     * 1 已选中
     */
    private int checked = 0;

    public int getChecked() {
        return checked;
    }

    public void setChecked(int checked) {
        this.checked = checked;
    }

    /**
     * 通知界面是否展示时间，0不展示，1展示
     */
    private int isShowTime;

    public String getCommunityUuid() {
        return communityUuid;
    }

    public void setCommunityUuid(String communityUuid) {
        this.communityUuid = communityUuid;
    }


    /**
     * 是否过期，state 0 不限制   1  正常  2  过期
     */
    private int state;
    private List<MemberResponse> fromUser = new ArrayList<MemberResponse>();
    private List<DeviceResponse> fromDevice = new ArrayList<DeviceResponse>();

    /** 是否有关联通知，0没有关联，1有关联. */
    private int isHaveRel;

    public int getIsHaveRel() {
        return isHaveRel;
    }

    public void setIsHaveRel(int isHaveRel) {
        this.isHaveRel = isHaveRel;
    }

    public String getUuid() {
        return uuid;
    }

    public List<DeviceResponse> getFromDevice() {
        return fromDevice;
    }

    public int getIsdate() {
        return isdate;
    }

    public void setIsdate(int isdate) {
        this.isdate = isdate;
    }

    public void setFromDevice(List<DeviceResponse> fromDevice) {
        this.fromDevice = fromDevice;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;

    }


    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }


    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public int getIsNotificationFrom() {
        return isNotificationFrom;
    }

    public void setIsNotificationFrom(int isNotificationFrom) {
        this.isNotificationFrom = isNotificationFrom;
    }

    public String getGroupUuid() {
        return groupUuid;
    }

    public void setGroupUuid(String groupUuid) {
        this.groupUuid = groupUuid;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public List<MemberResponse> getFromUser() {
        return fromUser;
    }

    public void setFromUser(List<MemberResponse> fromUser) {
        this.fromUser = fromUser;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getIsShowTime() {
        return isShowTime;
    }

    public void setIsShowTime(int isShowTime) {
        this.isShowTime = isShowTime;
    }
}


